﻿{% load filter %}
{% extends '2base.html' %}
{% block title %}
<title>Wow Dkp Engine Forum</title>
<style type="text/css" media="screen">
	input[type=text] { width:250px; }
</style>
{% endblock %}
{% block headline %}
{% endblock %}
{% block secondmenu %}
{% include 'second_menu.html'%}
{% endblock %}
{% block content %}
	<form method="post" action="." enctype='multipart/form-data'>
		<b>{{ multi_language.fa_forum_memberinfo_lang_username }} : </b><br />
		<input type="text" name="username" {% if member %} value={{ member.username }} {% endif %}/>
		<br />
		<b>{{ multi_language.fa_forum_memberinfo_lang_homepage }}  : </b><br />
		<input type="text" name="homepage" {% if member %} value={{ member.homepage }} {% endif %}/>
		<br />
		<b>{{ multi_language.fa_forum_memberinfo_lang_email }}  : </b><br />
		<input type="text" name="email" {% if member %} value={{ member.email }} {% endif %}/>
		<br />
		<b>{{ multi_language.fa_forum_memberinfo_lang_gender }}  : </b><br />
		<select name="gender">
		<option value="male" {% ifequal member.gender 'male' %} selected="selected" {% endifequal %} >Male</option>
		<option value="female" {% ifequal member.gender 'female' %} selected="selected" {% endifequal %}>Female</option>
		</select>
		<br />
		<b>{{ multi_language.fa_forum_memberinfo_lang_summary }}  : </b>
		<br />
		<input type="text" name="summary" value={% if member %}{{ member.summary }}{% endif %} />
		<br />
		<b>{{ multi_language.fa_forum_memberinfo_lang_player }} : </b><br />
		<input type="text" name="player" {% if member %}{% if member.player %} value={{ member.player.player_name }} {%endif%}{% endif %}/>
		{% if member %}{% if member.player %}
		<div>
			<a style='font-size:13px;font-weight:bold;color:{{ member.player.player_class|classcolor }};font-size:18px;text-shadow: {{ member.player.player_class|classcolor }} 1px 2px 2px;' href="http://cn.wowarmory.com/character-sheet.xml?r=阿努巴拉克&n={{member.player.player_name}}">{{ member.player.player_name }}</a>
			<img title="{{ member.player.player_race }}" class="player-icon" style="vertical-align:middle;" src="/static/images/wow/race/{{ member.player.player_race }}-{{ member.player.player_sex }}.png" />
			<img title="{{ member.player.player_class }}" class="player-icon" style="vertical-align:middle;" src="/static/images/wow/class/{{ member.player.player_class }}.png" />
		</div>
			{% include 'race_name.html' %} <b style='color:{{ player.player_class|classcolor }}'>{% include 'class_name.html' %}</b>
		{% endif %}{% endif %}
		<br />
		<br />
		<h5 style="color:#32b16c;">姐姐来选个头像吧</h5>
		<input type="file" name="avaster" />
		<br />
		<br />
		{% if member.thumbnail %}<img src="/member/thumbnail/{{ member.key.id }}" />{% endif %}
		<br />
		<input type="submit" name="submit" value="{{ multi_language.fa_forum_memberinfo_lang_submit }}"/>
	</form>
{% endblock%}
{% block siderbar %}
{% include 'forumSiderbar.html' %}
{% endblock%}